 
Enter the Matrix A :[ 3 1 2; 0 2 -1;1 -1 2]

Enter the Matrix B :[ 1 0 0; 0 1 0;0 0 1]


 The Matrix A is .... :

   3.   1.   2.
   0.   2.  -1.
   1.  -1.   2.

 The Matrix B is .... :

   1.   0.   0.
   0.   1.   0.
   0.   0.   1.

 The size of Matrix A is .... : 

   3.   3.

 The size of Matrix B is .... : 

   3.   3.

 Addition of A and B Matrices is .....: 

   4.   1.   2.
   0.   3.  -1.
   1.  -1.   3.

 Subtraction of A and B Matrices is .....: 

   2.   1.   2.
   0.   1.  -1.
   1.  -1.   1.

 Multiplication of matrix A with a scalar value K  .....: 
Enter a scalar value K  :2


   6.   2.   4.
   0.   4.  -2.
   2.  -2.   4.

 Multiplication of A and B Matrices is .....: 

   3.   1.   2.
   0.   2.  -1.
   1.  -1.   2.

 Multiplication (Element by Element) of A and B Matrices is .....: 

   3.   0.   0.
   0.   2.   0.
   0.   0.   2.

 Rank of Matrix A is :

   3.

 Determinant of Matrix A is :

   4.

 Trace of Matrix A is :

   7.

 Inverse of Matrix A is :

   0.75  -1.  -1.25
  -0.25   1.   0.75
  -0.5    1.   1.5 
